<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加图书</title>
</head>
<body>
    <div class="container-fluid">
        <div class="row">
                <h1 class="page-header">修改图书</h1>
                <form class="form-horizontal" action="/updateStudent" method="POST">
                    <input type = "hidden" value="<%=student.id%>" name="id">
                    <div class="form-group">
                        <label for="studentname" class="col-sm-2 control-label">书名：</label>
                        <div class="col-sm-10">
                            <input type="text" value=<%=books.bookname%> name="name" required class="form-control" id="studentname" placeholder="请输入学生姓名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="age" class="col-sm-2 control-label">作者：</label>
                        <div class="col-sm-10">
                            <input name="age" value=<%=books.author%> type="number" required class="form-control" id="age" placeholder="请输入年龄">
                        </div>
                    </div>
            
                    <div class="form-group">
                        <label for="hobbies" class="col-sm-2 control-label">分类：</label>
                        <div class="col-sm-10">
                            <input name="hobbies" value=<%=books.cat%> type="text" required class="form-control" id="hobbies" placeholder="请输入爱好" >
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="classID" class="col-sm-2 control-label">描述：</label>
                        <div class="col-sm-10">
                            <input name="classID" value = <%= books.des %> type="text" required class="form-control" id="classID" placeholder="请输入班级" >
                        </div>
                    </div>
            
            
                    
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-success">修改</button>
                        </div>
                    </div>
                </form>


            </div>
        </div>
    </div>
</body>
</html>